<ul class="list-group">
  <foreach name="articles" item="v">
    <li class="list-group-item">
      <a href="{:U('Index/article',array('id'=>$v['id']))}">{$v.title}</a> <span class="pull-right">{$v.addtime|strtotime|Date="m-d H:i",###}</span>
    </li>
  </foreach>
</ul>
